package com.hspedu.extends_.improve;

/**
 * @Author Stringzhua
 * @Date 2024/3/1 17:04
 * description:
 */
public class Extends02 {
    public static void main(String[] args) {
        Pupil pupil = new Pupil();
        pupil.name="爪爪";
        pupil.age=6;
        pupil.testing();
        pupil.setScore(60);
        pupil.showInfo();
        System.out.println("========");

        Graduate graduate = new Graduate();
        graduate.name="Stringzhua";
        graduate.age=20;
        graduate.testing();
        graduate.setScore(90);
        graduate.showInfo();
    }
}
